package com.punai.dataanalysis.epdatakb.bo.NG001;

import com.punai.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 提供三级效益分析基础字段
 * 开累产值（不含税）
 * 本年产值（不含税）
 * 累计实际成本
 * 本年实际成本
 */
public class SjxyfxBasic extends BaseEntity {


    private String id;

    /**
     * 首列展示名称
     */
    private String keyName;
    /**
     *
     */
    private Integer keyNameOrder;

    /**
     * 公司
     */
    private String gs;
    /**
     * 项目部
     */
    private String xmb;
    private String proName;
    private String proCode;
    /**
     * 工程代码
     */
    private String billNo;
    /**
     * 开累产值（不含税）
     */
    private BigDecimal ljcz;
    /**
     * 本年产值（不含税）
     */
    private BigDecimal bncz;
    /**
     * 累计实际成本
     */
    private BigDecimal ljcb;
    /**
     * 本年实际成本
     */
    private BigDecimal bncb;
    /**
     * 开累目标成本
     */
    private BigDecimal klmbcb;
    /**
     * 本年目标成本
     */
    private BigDecimal bnmbcb;
    /**
     * 累计利润 = 累计产值-累计成本
     */
    private BigDecimal ljrl;
    /**
     * 本年利润=本年产值-本年成本
     */
    private BigDecimal bnlr;
    /**
     * 累计利润率=累计利润/累计产值
     */
    private BigDecimal ljlrl;
    /**
     * 排名(利润率从大到小)
     */
    private Integer lhlrlpm;
    /**
     * 本年利润率=本年利润/本年产值
     */
    private BigDecimal bnlrl;
    /**
     * 排名(利润率从大到小)
     */
    private Integer bnlrlpm;

    private List<SjxyfxBasic> children = new ArrayList<>();

    public List<SjxyfxBasic> getChildren() {
        return children;
    }

    public void setChildren(List<SjxyfxBasic> children) {
        this.children = children;
    }

    public String getGs() {
        return gs;
    }

    public void setGs(String gs) {
        this.gs = gs;
    }

    public String getXmb() {
        return xmb;
    }

    public void setXmb(String xmb) {
        this.xmb = xmb;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public BigDecimal getLjcz() {
        return ljcz;
    }

    public void setLjcz(BigDecimal ljcz) {
        this.ljcz = ljcz;
    }

    public BigDecimal getBncz() {
        return bncz;
    }

    public void setBncz(BigDecimal bncz) {
        this.bncz = bncz;
    }

    public BigDecimal getLjcb() {
        return ljcb;
    }

    public void setLjcb(BigDecimal ljcb) {
        this.ljcb = ljcb;
    }

    public BigDecimal getBncb() {
        return bncb;
    }

    public void setBncb(BigDecimal bncb) {
        this.bncb = bncb;
    }

    public BigDecimal getKlmbcb() {
        return klmbcb;
    }

    public void setKlmbcb(BigDecimal klmbcb) {
        this.klmbcb = klmbcb;
    }

    public BigDecimal getBnmbcb() {
        return bnmbcb;
    }

    public void setBnmbcb(BigDecimal bnmbcb) {
        this.bnmbcb = bnmbcb;
    }

    public BigDecimal getLjrl() {
        return ljrl;
    }

    public void setLjrl(BigDecimal ljrl) {
        this.ljrl = ljrl;
    }

    public BigDecimal getBnlr() {
        return bnlr;
    }

    public void setBnlr(BigDecimal bnlr) {
        this.bnlr = bnlr;
    }

    public BigDecimal getLjlrl() {
        return ljlrl;
    }

    public void setLjlrl(BigDecimal ljlrl) {
        this.ljlrl = ljlrl;
    }

    public Integer getLhlrlpm() {
        return lhlrlpm;
    }

    public void setLhlrlpm(Integer lhlrlpm) {
        this.lhlrlpm = lhlrlpm;
    }

    public BigDecimal getBnlrl() {
        return bnlrl;
    }

    public void setBnlrl(BigDecimal bnlrl) {
        this.bnlrl = bnlrl;
    }

    public Integer getBnlrlpm() {
        return bnlrlpm;
    }

    public void setBnlrlpm(Integer bnlrlpm) {
        this.bnlrlpm = bnlrlpm;
    }

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    public Integer getKeyNameOrder() {
        return keyNameOrder;
    }

    public void setKeyNameOrder(Integer keyNameOrder) {
        this.keyNameOrder = keyNameOrder;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "SjxyfxBasic{" +
                "id='" + id + '\'' +
                ", keyName='" + keyName + '\'' +
                ", keyNameOrder=" + keyNameOrder +
                ", gs='" + gs + '\'' +
                ", xmb='" + xmb + '\'' +
                ", proName='" + proName + '\'' +
                ", proCode='" + proCode + '\'' +
                ", billNo='" + billNo + '\'' +
                ", ljcz=" + ljcz +
                ", bncz=" + bncz +
                ", ljcb=" + ljcb +
                ", bncb=" + bncb +
                ", klmbcb=" + klmbcb +
                ", bnmbcb=" + bnmbcb +
                ", ljrl=" + ljrl +
                ", bnlr=" + bnlr +
                ", ljlrl=" + ljlrl +
                ", lhlrlpm=" + lhlrlpm +
                ", bnlrl=" + bnlrl +
                ", bnlrlpm=" + bnlrlpm +
                ", children=" + children +
                '}';
    }
}
